package org.travelfusion.xmlclient.ri.xobject.misc;

import java.util.Date;

import org.travelfusion.xmlclient.ri.xobject.misc.XFindAlternativeFlightsItem.CodeType;
import org.travelfusion.xmlclient.xobject.XRequestBean;

public class XFindAlternativeFlightsRequest extends XRequestBean {

	/** serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	private String currency;
	
	private int maxDaysOffset;
	
	private Date outwardDay;
	
	private Date returnDay;
	
	private String origin;
	
	private CodeType originType;
	
	private String destination;
	
	private CodeType destinationType;

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public int getMaxDaysOffset() {
		return maxDaysOffset;
	}

	public void setMaxDaysOffset(int maxDaysOffset) {
		this.maxDaysOffset = maxDaysOffset;
	}

	public Date getOutwardDay() {
		return outwardDay;
	}

	public void setOutwardDay(Date outwardDay) {
		this.outwardDay = outwardDay;
	}

	public Date getReturnDay() {
		return returnDay;
	}

	public void setReturnDay(Date returnDay) {
		this.returnDay = returnDay;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}
	
	/**
	 * Returns the originType.
	 * @return the originType.
	 */
	public CodeType getOriginType() {
		return originType;
	}

	/**
	 * Sets the originType.
	 * @param originType the originType.
	 */
	public void setOriginType(CodeType originType) {
		this.originType = originType;
	}
	
	/**
	 * Returns the destinationType.
	 * @return the destinationType.
	 */
	public CodeType getDestinationType() {
		return destinationType;
	}

	/**
	 * Sets the destinationType.
	 * @param destinationType the destinationType.
	 */
	public void setDestinationType(CodeType destinationType) {
		this.destinationType = destinationType;
	}

}
